package lession2.PartA_Grammar.impl

interface InterfaceB {

    fun hello(){
        println("InterfaceB Hello")
    }


}

interface MyInterface {
    val prop: Int // 抽象的

    val propertyWithImplementation: String
        get() = "foo"

    fun foo() {
        print(prop)
    }
}

class Child : MyInterface {
    override val prop: Int = 29

    override val propertyWithImplementation: String
        get() = super.propertyWithImplementation



}



